package org.wisdom.mapstruct;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.wisdom.entity.Order;
import org.wisdom.request.PostOrderRequest;

@Mapper
public interface OrderMapStruct {
    OrderMapStruct INSTANCE = Mappers.getMapper(OrderMapStruct.class);

    Order postOrderRequestToOrder(PostOrderRequest postOrderRequest);
}
